#!usr/bin/env python3
# _*_ coding:utf-8 _*_
#计算一元二次方程的解

import math

def quadratic(a,b,c):
	x1 = (-b+math.sqrt(b*b-4*a*c))/(2*a)
	x2 = (-b-math.sqrt(b*b-4*a*c))/(2*a)
	return x1,x2
	
a = int(input('input a=:'))
b = int(input('input b=:'))
c = int(input('input c=:'))
result = quadratic(a,b,c)
print('result = ',result)